Optimal. Leaf size=32 \[ \frac {1}{2 \sqrt {1-x^4}}-\frac {1}{2} \tanh ^{-1}\left (\sqrt {1-x^4}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {272, 53, 65,
212} \begin {gather*} \frac {1}{2 \sqrt {1-x^4}}-\frac {1}{2} \tanh ^{-1}\left (\sqrt {1-x^4}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 53
Rule 65
Rule 212
Rule 272
Rubi steps
\begin {align*} \int \frac {1}{x \left (1-x^4\right )^{3/2}} \, dx &=\frac {1}{4} \text {Subst}\left (\int \frac {1}{(1-x)^{3/2} x} \, dx,x,x^4\right )\\ &=\frac {1}{2 \sqrt {1-x^4}}+\frac {1}{4} \text {Subst}\left (\int \frac {1}{\sqrt {1-x} x} \, dx,x,x^4\right )\\ &=\frac {1}{2 \sqrt {1-x^4}}-\frac {1}{2} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-x^4}\right )\\ &=\frac {1}{2 \sqrt {1-x^4}}-\frac {1}{2} \tanh ^{-1}\left (\sqrt {1-x^4}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 30, normalized size = 0.94 \begin {gather*} \frac {1}{2} \left (\frac {1}{\sqrt {1-x^4}}-\tanh ^{-1}\left (\sqrt {1-x^4}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(67\) vs.
\(2(24)=48\).
time = 0.23, size = 68, normalized size = 2.12
method | result | size |
risch | \(\frac {1}{2 \sqrt {-x^{4}+1}}-\frac {\arctanh \left (\frac {1}{\sqrt {-x^{4}+1}}\right )}{2}\) | \(25\) |
trager | \(-\frac {\sqrt {-x^{4}+1}}{2 \left (x^{4}-1\right )}-\frac {\ln \left (\frac {1+\sqrt {-x^{4}+1}}{x^{2}}\right )}{2}\) | \(38\) |
meijerg | \(\frac {-\sqrt {\pi }+\frac {\sqrt {\pi }}{\sqrt {-x^{4}+1}}-\sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {-x^{4}+1}}{2}\right )+\frac {\left (2-2 \ln \left (2\right )+4 \ln \left (x \right )+i \pi \right ) \sqrt {\pi }}{2}}{2 \sqrt {\pi }}\) | \(63\) |
default | \(\frac {\sqrt {-\left (x^{2}+1\right )^{2}+2 x^{2}+2}}{4 x^{2}+4}-\frac {\arctanh \left (\frac {1}{\sqrt {-x^{4}+1}}\right )}{2}-\frac {\sqrt {-\left (x^{2}-1\right )^{2}-2 x^{2}+2}}{4 \left (x^{2}-1\right )}\) | \(68\) |
elliptic | \(\frac {\sqrt {-\left (x^{2}+1\right )^{2}+2 x^{2}+2}}{4 x^{2}+4}-\frac {\arctanh \left (\frac {1}{\sqrt {-x^{4}+1}}\right )}{2}-\frac {\sqrt {-\left (x^{2}-1\right )^{2}-2 x^{2}+2}}{4 \left (x^{2}-1\right )}\) | \(68\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 40, normalized size = 1.25 \begin {gather*} \frac {1}{2 \, \sqrt {-x^{4} + 1}} - \frac {1}{4} \, \log \left (\sqrt {-x^{4} + 1} + 1\right ) + \frac {1}{4} \, \log \left (\sqrt {-x^{4} + 1} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 58 vs.
\(2 (24) = 48\).
time = 0.36, size = 58, normalized size = 1.81 \begin {gather*} -\frac {{\left (x^{4} - 1\right )} \log \left (\sqrt {-x^{4} + 1} + 1\right ) - {\left (x^{4} - 1\right )} \log \left (\sqrt {-x^{4} + 1} - 1\right ) + 2 \, \sqrt {-x^{4} + 1}}{4 \, {\left (x^{4} - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.67, size = 228, normalized size = 7.12 \begin {gather*} \begin {cases} - \frac {2 x^{4} \log {\left (x^{2} \right )}}{4 x^{4} - 4} + \frac {x^{4} \log {\left (x^{4} \right )}}{4 x^{4} - 4} + \frac {2 i x^{4} \operatorname {asin}{\left (\frac {1}{x^{2}} \right )}}{4 x^{4} - 4} - \frac {2 i \sqrt {x^{4} - 1}}{4 x^{4} - 4} + \frac {2 \log {\left (x^{2} \right )}}{4 x^{4} - 4} - \frac {\log {\left (x^{4} \right )}}{4 x^{4} - 4} - \frac {2 i \operatorname {asin}{\left (\frac {1}{x^{2}} \right )}}{4 x^{4} - 4} & \text {for}\: \left |{x^{4}}\right | > 1 \\\frac {x^{4} \log {\left (x^{4} \right )}}{4 x^{4} - 4} - \frac {2 x^{4} \log {\left (\sqrt {1 - x^{4}} + 1 \right )}}{4 x^{4} - 4} + \frac {i \pi x^{4}}{4 x^{4} - 4} - \frac {2 \sqrt {1 - x^{4}}}{4 x^{4} - 4} - \frac {\log {\left (x^{4} \right )}}{4 x^{4} - 4} + \frac {2 \log {\left (\sqrt {1 - x^{4}} + 1 \right )}}{4 x^{4} - 4} - \frac {i \pi }{4 x^{4} - 4} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.27, size = 42, normalized size = 1.31 \begin {gather*} \frac {1}{2 \, \sqrt {-x^{4} + 1}} - \frac {1}{4} \, \log \left (\sqrt {-x^{4} + 1} + 1\right ) + \frac {1}{4} \, \log \left (-\sqrt {-x^{4} + 1} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.22, size = 24, normalized size = 0.75 \begin {gather*} \frac {1}{2\,\sqrt {1-x^4}}-\frac {\mathrm {atanh}\left (\sqrt {1-x^4}\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________